<!DOCTYPE html>
<html>
  <head>
    <title><?php echo Yii::app()->name ?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="content-language" content="zh-cn" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style type="text/css">
      body{
        padding-top: 60px;
      }
    </style>
  </head>
  <body>
    
    <div class="navbar  navbar-fixed-top ">
        <div class="navbar-inner" style="padding:0px 20px;">
             <a class="brand" href="<?php echo $this->createUrl('site/index') ?>"><?php echo  Yii::app()->name ?></a>
             <ul class="nav pull-right">
               <li class="dropdown"><a href="" title="" class="dropdown-toggle" data-toggle="dropdown">快捷操作<b class="caret"></b></a>
                 <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                  <li><a href="<?php echo $this->createUrl("article/create") ?>" title=""><i class="icon-edit"></i> 发布文章</a></li>
                </ul>
               </li>
               <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#" title="<?php echo  Yii::app()->user->name ?>">
                <i class="icon-user"></i><span style="margin:0 0 0 10px;"><?php echo  Yii::app()->user->name ?></span>
                <b class="caret"></b>
               </a>
                <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                  <li><a href="<?php echo $this->createUrl("user/index") ?>" title="个人中心">个人中心</a></li>
                  <li><a href="<?php echo $this->createUrl('user/password') ?>" title="密码修改">密码修改</a></li>
                  <li class="divider"></li>
                  <li><a href="<?php echo $this->createUrl("user/logout") ?>"><i class="icon-off"></i> 退出</a></li>
                </ul>
               </li>
               <li><a href="" title="">消息 <span class="badge badge-important">6</span></a></li>
             </ul><!-- / -->
        </div>
    </div>
    <div class="container-fluid">
      <div class="row-fluid">
        <div class="span2">
          <div style="border: 1px solid #ddd;border-radius: 4px;background-color: #f5f5f5;padding:5px 0px;">
            <ul class="nav nav-list">
              <li class="nav-header">控制面板</li>
              <li class="active"><a href="<?php echo $this->createUrl('site/setting') ?>">网站设置</a></li>
              <li><a href="<?php echo $this->createUrl('navigation/Index') ?>">栏目管理</a></li>
              <li class="nav-header">内容管理</li>
              <li><a href="<?php echo $this->createUrl('article/create') ?>">添加文章</a></li>
              <li><a href="<?php echo $this->createUrl('article/index') ?>">文章管理</a></li>
              <li><a href="#">评论管理</a></li>
              <li><a href="<?php echo $this->createUrl('link/index') ?>">友情链接管理</a></li>
               <li class="nav-header">用户</li>
              <li><a href="<?php echo  $this->createUrl('user/list') ?>">账户管理</a></li>
              <li class="divider"></li>
              <li class="nav-header">个人管理</li>
              <li><a href="<?php echo $this->createUrl("user/index") ?>">个人信息</a></li>
              <li><a href="<?php echo $this->createUrl('user/password') ?>">密码修改</a></li>
          </ul>
          </div>
          

        </div>
        <div class="span10">
          <div class="row">
          <ul class="breadcrumb">
            <li><a href="<?php echo $this->createUrl("site/index") ?>">管理中心</a> <span class="divider">/</span></li>
            <li><?php echo  $this->navTitle; ?><span class="divider">/</span></li>
            <li class="active"><?php echo $this->pageTitle; ?></li>
          </ul>
        </div>
          <?php echo $content ?>
        </div>
      </div>
  </div>

  <hr>
  <footer class="footer">
  	<div class="container">
  		<p>版权申明</p>	
  	</div>
    
  </footer>
  </body>
</html>